From 4bb6e70d014db28bed77624a21911079f4a440a8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Timm=20B=C3=A4der?= Date: Fri, 26 Apr 2019 07:34:18 +0200 Subject: [PATCH] tooltip: Initialize tooltip coords to given event coords Otherwise the coordinates passed to the query-tooltip signal are always 0. --- gtk/gtktooltip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/gtktooltip.c b/gtk/gtktooltip.c index 794d65c30d..22a7e68b1f 100644 --- a/gtk/gtktooltip.c +++ b/gtk/gtktooltip.c @@ -923,7 +923,7 @@ gtk_tooltip_handle_event_internal (GdkEventType event_type, gdouble dx, gdouble dy) { - int x = 0, y = 0; + int x = dx, y = dy; GdkDisplay *display; GtkTooltip *current_tooltip; -- 2.30.2